{% extends "common.twig" %}
{% block body %}
    
<div class="container visible-lg">
    <div class="col-lg-8 slider-wrapper theme-default" id="wrapper">
        <div id="slider" class="nivoSlider">
            {% for item in banners %}
                <a href="{{ item.url }}" target="_blank">
                    <img class="img-responsive" src="{{ item.banner }}" data-thumb="{{ item.content }}" title="{{ item.content }}"/>
                </a>
            {% endfor %}
        </div>
    </div>
    <div class="col-lg-4 visible-lg" style="margin-top: 10px;">
        <div class="panel">
            <div class="panel-heading panel-default">
                <i class="fa fa-rss" style="font-size: 1.6em;color: #f90"></i> 今日推荐
                <a href="/list.html" class="pull-right">查看更多</a>
            </div>
            <div style="padding-top: 20px;">
                {% for item in newlists %}
                    <a href="/detail/{{ item.pa_id }}.html" target="_blank">
                        <img class="lazy" data-original="{{ item.cover }}" alt="{{ item.title }}" src="//s.imcn.vip/img/bgcover.jpg" style="height: 240px;margin:9px;">
                    </a>    
                {% endfor %}
            </div>
        </div>
    </div>
</div>    
<div class="cn-row">
    <div class="container">
        <div class="cn-panel-review panel-success" style="margin-bottom: 20px;">
            <i class="fa fa-camera-retro" style="font-size: 2em;color: #f90;margin-right: 5px;"></i>最近更新
            <a href="/list.html" class="pull-right">更多</a>
        </div>
        <div class="row">
            {% for item in lists %}
                <div class="col-md-3 col-xs-6 cn-li">
                    <a href="/detail/{{ item.pa_id }}.html" alt="{{ item.title }}" target="_blank">
                        <img class="cn-img lazy" data-original="{{ item.cover }}" src="//s.imcn.vip/img/bgcover.jpg" alt="{{ item.title }}"/>
                    </a>
                    <a href="/detail/{{ item.pa_id }}.html" alt="{{ item.title }}" target="_blank">
                        <div class="cn-gun">{{ item.title }}</div>
                    </a>
                </div>
            {% endfor %}
        </div>
    </div>
</div>
{% endblock %}

